package com.yifei.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifei.model.entity.system.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * 菜单管理(SysMenu)表数据库访问层
 *
 * @author yiFei
 * @since 2023-09-23 20:56:09
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 获取角色权限集合
     *
     * @param roles
     * @return
     */
    Set<String> listRolePerms(@Param("roles") Set<String> roles);

}

